Skip to content

feat(diagnostics): add fail-closed editor decorations - #256

Draft
seonghobae wants to merge 23 commits into
feat/writing-diagnostics-projectionfrom
feat/writing-diagnostics-decorations
Draft

feat(diagnostics): add fail-closed editor decorations#256
seonghobae wants to merge 23 commits into
feat/writing-diagnostics-projectionfrom
feat/writing-diagnostics-decorations

Conversation

@seonghobae

@seonghobae seonghobae commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Scope

Stacked Task 3 implementation lane for PR #248's writing-diagnostics plan. This Draft targets feat/writing-diagnostics-projection; #254, #249 and #248 remain explicit dependency roots.

Current exact stack authority

  • parent: feat/writing-diagnostics-projection@760021c053fca1eb14fe1a344f10ccbf2d484ed5;
  • exact head: 5844b4e3547746c912bece476d92d4847d8e4e3c;
  • inherited architecture: ADR 0028 host-owned revision-bound diagnostics + ADR 0029 strict invalidation / semantic-neutral accessibility;
  • protected release source remains main@3b38ead2d00f44eb578d0689087b9293b3dabe1e under release: reconcile Office and npm versions before next stable registry publication #118.

The branch was synchronized non-destructively to the corrected exact Task 2 parent. Fresh comparison resolves merge base exactly to that parent, reports behind_by=0, and leaves exactly the six Task 3 decoration paths. The parent ADR-quality gate repair is preserved. No force push or destructive rebase was used.

Product boundary and TDD lineage

This lane renders only already-validated structural ranges. Decorations contain static Inkspan classes, visual priority and an opaque diagnostic identifier; they do not carry source text, title, explanation, replacement, category text, model output, executable markup or semantic ARIA authority.

The plugin installs diagnostics by monotonic generation, bounds decoration count/identifier size, invalidates the complete generation on every docChanged, focuses only an identifier in the exact active generation, rejects hostile metadata without leaking private thrown values, and performs no semantic inference/model/provider/network/database/host-callback work.

Exact-current-head evidence

Current exact head 5844b4e3547746c912bece476d92d4847d8e4e3c has no qualifying current-head PR workflow runs returned by the live workflow-run query yet. Predecessor focused decorations TDD evidence is historical only. Formal reviews/threads have not supplied qualifying current-head approval. Current-head CI/security/SAST/coverage/package/browser/accessibility evidence remains non-passing until freshly produced.

Integration boundary

Keep this PR Draft and stacked. Dependency order remains #248#249#254#256. Temporary branch-specific TDD workflow material must not survive protected integration. Final readiness requires exact-current-head canonical gates, zero valid unresolved findings/contradictions, qualifying independent approval, and release-order authorization after #118. Do not self-approve, transfer predecessor evidence, weaken gates or bypass stack order.

@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

…ion' into feat/writing-diagnostics-decorations

Signed-off-by: Seongho Bae <me@seonghobae.me>
@seonghobae

Copy link
Copy Markdown
Contributor Author

#256 was restacked onto the current #254 head 36ce576.

Exact head: d28caf9

Verification on that tree:

  • focused diagnostics tests: 2 files, 23 tests passed
  • full Vitest coverage suite: 168 files, 965 tests passed
  • statements, branches, functions, and lines: 100%
  • effective PR delta remains the intended six files
  • hosted head/base OIDs and file list re-fetched after push

Checks are currently queued before runner assignment.

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

Signed-off-by: Seongho Bae <me@seonghobae.me>
…ion' into feat/writing-diagnostics-decorations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: medium Normal-priority or P2 work status: draft Draft pull request type: feature New or expanded product capability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant